#include<stdio.h>
int main()
{
	int a,b,c;
	printf("enter a two-digit number:\n");
	scanf("%d",&a);
	printf("you enter the number ");
	b=a/10;
	c=a%10;
	if (a<20)
	switch (a) {
		case 11: printf("eleven");break;
		case 12: printf("twelve");break;
		case 13: printf("thirteen");break;
		case 14: printf("fourteen");break;
		case 15: printf("fifteen");break;
		case 16: printf("sixteen");break;
		case 17: printf("seventeen");break;
		case 18: printf("eighteen");break;
		case 19: printf("nineteen");break;
	}
	else
	{
		switch (b) {
			case 2: printf("twenty-");break;
			case 3: printf("thirty-");break;
			case 4: printf("forty-");break;
			case 5: printf("fifty-");break;
			case 6: printf("sixty-");break;
			case 7: printf("seventy-");break;
			case 8: printf("eighty-");break;
			case 9: printf("ninety-");break;
		}
		switch (c) {
			case 1: printf("one");break;
			case 2: printf("two");break;
			case 3: printf("three");break;
			case 4: printf("four");break;
			case 5: printf("five");break;
			case 6: printf("six");break;
			case 7: printf("seven");break;
			case 8: printf("eight");break;
			case 9: printf("nine");break;
		}
	}
	return 0;
}
